package com.minimalist.common.entity.lindi.vo.provinceindex;

import com.minimalist.common.config.mybatis.bo.PageReq;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serial;
import java.io.Serializable;
import java.util.Objects;

/**
 * @author 11987
 */

@Schema(name = "林地指标交易平台_省级指标查询实体")
public class LindiProvinceIndexQueryVO extends PageReq implements Serializable{
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(name = "provinceQuantity", description = "省级公益林指标亩数", type = "string")
    private String provinceQuantity;

    public LindiProvinceIndexQueryVO(){
    }

    public String getProvinceQuantity(){
        return provinceQuantity;
    }

    public void setProvinceQuantity(String provinceQuantity){
        this.provinceQuantity = provinceQuantity;
    }

    @Override
    public boolean equals(Object o){
        if (this == o){
            return true;
        }
        if (o == null || getClass() != o.getClass()){
            return false;
        }
        if (!super.equals(o)){
            return false;
        }
        LindiProvinceIndexQueryVO that = (LindiProvinceIndexQueryVO) o;
        return Objects.equals(provinceQuantity, that.provinceQuantity);
    }

    @Override
    public int hashCode(){
        return Objects.hash(super.hashCode(), provinceQuantity);
    }
}